const CopyStaticFilesPlugin = require('../index');
const path = require('path');
const ROOT_PATH = process.cwd();

function run() {
 const commander = new CopyStaticFilesPlugin({
   patterns: [
     {
       from: path.resolve(ROOT_PATH, './test'),
       to: path.resolve(ROOT_PATH, './dist2'),
     },
   ]
 })
  commander.run();
}
run();
